﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CommandSavvy;
using CommandLine;

namespace CommandRunner.Console.Command
{
    public class SingleCommandOptions : SavvyCommandOptions
    {
        [Option("c", "command", HelpText = "The command to run", Required = true)]
        public string Command;

        [Option("s", "server", HelpText = "The server on which to run the command")]
        public string Server;

        [Option("p", "port", HelpText = "The port on the server where the command will be sent")]
        public int? Port;

        [Option("w", "workdir", HelpText = "The working directory in which to execute the command")]
        public string WorkDir;

        [Option("i", "interactive", HelpText = "Treat this as an interactive process")]
        public bool Interactive;

        [Option("m", "monitor", HelpText = "Monitor the success of the command.  Should the outcome of this command influence the return result?")]
        public bool Monitor;
    }
}
